package com.infinova.datax.common.http;

import com.alibaba.fastjson2.JSONObject;

/**
 * @author bigbird-0101
 */
public class HttpRequest{
    private String url;
    private HttpMethod method;
    private JSONObject query;
    private JSONObject body;
    private JSONObject header;
    public HttpRequest() {
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public HttpMethod getMethod() {
        return method;
    }

    public void setMethod(HttpMethod method) {
        this.method = method;
    }

    public JSONObject getQuery() {
        return query;
    }

    public void setQuery(JSONObject query) {
        this.query = query;
    }

    public JSONObject getBody() {
        return body;
    }

    public void setBody(JSONObject body) {
        this.body = body;
    }

    public JSONObject getHeader() {
        return header;
    }

    public void setHeader(JSONObject header) {
        this.header = header;
    }
}